projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ac1bb
)
wayland: Fix argument's constness
author
Emmanuele Bassi
<ebassi@gnome.org>
Tue, 6 Dec 2022 21:41:29 +0000
(21:41 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Tue, 6 Dec 2022 21:50:30 +0000
(21:50 +0000)
The compiler was pointing out we were dropping the const modifier.
gdk/wayland/gdkselection-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkselection-wayland.c
b/gdk/wayland/gdkselection-wayland.c
index 6fbdb5e50df8944489d40442eb16b0f3e8a0bc37..672ae1c0a36d823c69c4bcad1eb057d2095b42bc 100644
(file)
--- a/
gdk/wayland/gdkselection-wayland.c
+++ b/
gdk/wayland/gdkselection-wayland.c
@@
-348,7
+348,7
@@
stored_selection_new (GdkWaylandSelection *wayland_selection,
static void
stored_selection_add_data (StoredSelection *stored_selection,
GdkPropMode mode,
-
guchar
*data,
+
const guchar
*data,
gsize data_len)
{
if (mode == GDK_PROP_MODE_REPLACE)